home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
dev
/
basic
/
StatsFuncs.lha
/
Statements&Functions
/
showsf.asc
next >
Wrap
Text File
|
1999-01-30
|
7KB
|
156 lines
Statement : BFWindow { window }
Fills a window with a backfill pattern.
Statement : Draw3dBox { x, y, width, height, style }
Draws a 3d box in a window.
Statement : FlashText { window, x, y, no , text, speed }
Shows flashing text - needs a window!
Statement : ShowInfo { directory, icon, screen number }
Puts the icon information requester onto the requested screen.
Statement : SavePaletteFile { bitmap number, filename }
Saves a standard Amiga IFF palette to a file.
Statement : WOutline { x1, y1, x2, y2, highlight ,shadow }
Draws a nice bounding box in a window.
Statement : WBevel { x, y, x2, y2, highlight, shadow }
Draws a nice bevel box in a window.
Function : RTReq { title, body text, gadget }
Uses a reqtools requester if it's available, standard if not.
Function : TitleBarHeight { screen }
Returns the height of the title bar of the specified screen.
Function : CentreWindowX { width of window }
Returns x position to centre a window in a screen.
Function : CentreWindowY { height of window }
Returns y position to centre a window in a screen.
Function : ChipSet {}
Returns a string according to Amiga's chipset.
Function : WFBox { window, left, width, top, height }
Clears a 0 colour box over a filled window.
Function : StripFile { path & file name }
Returns the file part of a path & file string.
Function : LockReq { title, body, gadget, type }
Locks calling window, puts up requester.
Function : ProgsDir {}
Returns a string with the program's directory.
Function : CurrentDir {}
Returns a string with the current directory name (CLI only).
Function : ProgsName {}
Returns a string with the program's DOS name.
Function : ParentDir { directory }
Returns a string containing the parent of {directory}
Function : SetComment { filename, comment }
Tries to write a file comment to the specified file.
Function : Memory { type }
Returns size of largest block of available memory.
Function : CheckLib { library, version }
Checks for library and version.
Function : PixelLen { text }
Number of pixels in width required to print a string.
Function : StripToDot { filename }
I use this in a program to strip file extensions off.
Function : Quoted { text }
Puts quotes around a file name, to avoid "space" problems.
Function : CreateDir { new directory }
Tries to create a new directory.
Function : CenterString { text, window }
Returns cursor x position to centre a string in a window.
Function : IsThere { filename }
Similar to Exists(), but uses OS functions.
Function : SaveSound { sound number, filename }
AT LAST! Blitz Basic gets a sample SAVE routine!
Function : SendARexx { arexx command }
Sends a given ARexx command to a given port.
Function : ASLFileRequest { title, path, file, pattern }
Uses OS functions to call up the ASL file requester.
Function : Planes2Cols { number of bitplanes }
Number of colours in the number of bitplanes given.
Function : CheckPic { picture file }
This function tests picture files.
Function : PicSafe { picture file, type, safety }
Checks for enough chip memory to load a shape or bitmap...
Function : SoundSafe { sound file, safety }
Checks a sound sample to see if it's really an IFF.
Statement : GoNTSC {}
Replacement for Enforcer-hitting ForceNTSC.
Statement : GoPAL {}
Replacement for Enforcer-hitting ForcePAL.
Function : Value { number string }
Like Val(), but returns correct values for very large numbers.
Function : ScreenOpened { screen }
Returns False if the specified screen doesn't exist.
Function : WindowOpened { window }
Returns False if the window isn't open.
Statement : WindowTitle { window, window title, screen title }
Sets the window title with OS command.
Statement : WinCls { colour }
Clears window properly (Blitz's WCls is bugged).
Statement : CleanBorder { window number }
Repairs "damaged"/overdrawn window borders.
Function : SetProgName { new program name }
Gives CLI program a new DOS name.
Function : Name { old file name, new name for file }
Renames a file.
Function : Unhook { device: }
Sets specified drive to <DRIVE>:BUSY (unavailable).
Function : Hookup { device: }
Makes "Unhook{}ed" drive available again.
Function : GetArg {}
Gets CLI parameter string.
Function : OpenShell { x, y, width, height, title, flag(s) }
Creates a full interactive Shell window.
Function : Del { file }
Deletes a file.
Function : OSAssign { assign name, path, type }
Creates a PATH or LATE assign.
Function : ScreenH { screen number }
Replacement for ScreenHeight; saves 7k.
Function : ScreenW { screen number }
Replacement for ScreenWidth; saves 7k.
Function : IsScreenActive { screen number }
Tells you if the requested screen is the active screen.
Function : WBColours {}
Returns numbers of colours in Workbench.
Function : ScreenMouseX {}
Returns X position of mouse, relative to top-left of screen.
Function : ScreenMouseY {}
Returns Y position of mouse, relative to top-left of screen.
Function : WindowFillScreen { window number, flags, title }
Quick call to open a full-screen window on any screen.
Statement : CtrlC {}
Sets up reception of Ctrl-C for ReceiveCtrlC {} function.
Function : ReceiveCtrlC {}
Receives Ctrl-C messages.
Function : TimerWait { seconds, microseconds }
Waits for set time, using timer.device.
Statement : UnLockWindow { window, lock }
Unlocks a window locked with the LockWindow {} function.
Function : LockWindow { window }
Locks the specified window, puts up busy pointer.
Function : WBVersion {}
Returns version/revision number of user's Workbench.
Function : KSVersion {}
Returns version/revision number of user's Kickstart.
Function : SoundTime { sound number }
Returns number of vblanks needed to play sound.
Function : WinMouseX {}
Returns X position of mouse, relative to top-left of window.
Function : WinMouseY {}
Returns Y position of mouse, relative to top-left of window.
Function : WindowFlags { window }
Returns a value containing the window's flag settings.
Statement : HidePointer { window }
Hides the mouse pointer for the specified window.
Statement : ShowPointer { window }
Shows the mouse pointer after being hidden by HidePointer {}.
Function : WindowH { window }
Returns height of specified window.
Function : WindowW { window }
Returns width of specified window.
Function : ReadComment { filename }
Reads the file comment of the file/drawer you specify.
Function : Exist { filename }
Full replacement for Exists(), see source for reasons.
Function : FileDate { filename }
Returns "Last modified" date of a file as a string.
Function : FileTime { filename }
Returns a string containing the time the file was created.
Function : CompareDates { file 1, file 2 }
Compares modification dates of two files.